﻿Imports System.Collections.Generic
Imports System.Linq
Imports System.Text


''' <summary>
''' Clase que define la entidad de negocio Busqueda
''' </summary>
''' <remarks></remarks>
Public Class cBusqueda

    Private _iBusq_Numero As Integer

    Public Property Busq_Numero() As Integer
        Get
            Return _iBusq_Numero
        End Get
        Set(value As Integer)
            _iBusq_Numero = value
        End Set
    End Property
    Private _sBusq_Titulo As String

    Public Property Busq_Titulo() As String
        Get
            Return _sBusq_Titulo
        End Get
        Set(value As String)
            _sBusq_Titulo = value
        End Set
    End Property
    Private _dBusq_FCreacion As DateTime

    Public Property Busq_FCreacion() As DateTime
        Get
            Return _dBusq_FCreacion
        End Get
        Set(value As DateTime)
            _dBusq_FCreacion = value
        End Set
    End Property
    Private _dBusq_FInicioProg As DateTime

    Public Property Busq_FInicioProg() As DateTime
        Get
            Return _dBusq_FInicioProg
        End Get
        Set(value As DateTime)
            _dBusq_FInicioProg = value
        End Set
    End Property
    Private _dBusq_FFinProg As DateTime

    Public Property Busq_FFinProg() As DateTime
        Get
            Return _dBusq_FFinProg
        End Get
        Set(value As DateTime)
            _dBusq_FFinProg = value
        End Set
    End Property
    Private _sBusq_Detalle As String

    Public Property Busq_Detalle() As String
        Get
            Return _sBusq_Detalle
        End Get
        Set(value As String)
            _sBusq_Detalle = value
        End Set
    End Property

    Private _sBusq_TelPostulaciones As String

    Public Property Busq_TelPostulaciones() As String
        Get
            Return _sBusq_TelPostulaciones
        End Get
        Set(value As String)
            _sBusq_TelPostulaciones = value
        End Set
    End Property

    Private _sBusq_MailPostulaciones As String

    Public Property Busq_MailPostulaciones() As String
        Get
            Return _sBusq_MailPostulaciones
        End Get
        Set(value As String)
            _sBusq_MailPostulaciones = value
        End Set
    End Property
    Private _oDepartamento As cDepartamento

    Public Property oDepartamento() As cDepartamento
        Get
            Return _oDepartamento
        End Get
        Set(value As cDepartamento)
            _oDepartamento = value
        End Set
    End Property
    Private _oEmpleadoRRHH As cEmpleado

    Public Property oEmpleadoRRHH() As cEmpleado
        Get
            Return _oEmpleadoRRHH
        End Get
        Set(value As cEmpleado)
            _oEmpleadoRRHH = value
        End Set
    End Property
    Private _oEmpleadoSectorSel As cEmpleado

    Public Property oEmpleadoSectorSel() As cEmpleado
        Get
            Return _oEmpleadoSectorSel
        End Get
        Set(value As cEmpleado)
            _oEmpleadoSectorSel = value
        End Set
    End Property
    Private _oEstado_Busqueda As cEstado_Busqueda

    Public Property oEstado_Busqueda() As cEstado_Busqueda
        Get
            Return _oEstado_Busqueda
        End Get
        Set(value As cEstado_Busqueda)
            _oEstado_Busqueda = value
        End Set
    End Property
    'TODO: Colecciones
    Private _iDVH As Int32

    Public Property DVH() As Int32
        Get
            Return _iDVH
        End Get
        Set(value As Int32)
            _iDVH = value
        End Set
    End Property


    Public Sub New()
        _oDepartamento = New cDepartamento
        _oEmpleadoRRHH = New cEmpleado
        _oEmpleadoSectorSel = New cEmpleado
        _oEstado_Busqueda = New cEstado_Busqueda
    End Sub
End Class
